net: ena: minor performance improvement
authorArthur Kiyanovski <akiyano@amazon.com>
Thu, 11 Oct 2018 08:26:16 +0000 (11:26 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 19 Jun 2019 22:16:58 +0000 (23:16 +0100)
commit6b3f39c9c04ab61737fbf3a68eff82cfa1266080
tree2a03be5d252beaad0daf0ba477d46218eb27fa82
parent38033038a5ae0449b598e817abefcf55c71e8b5b
net: ena: minor performance improvement

Reduce fastpath overhead by making ena_com_tx_comp_req_id_get() inline.
Also move it to ena_eth_com.h file with its dependency function
ena_com_cq_inc_head().

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic features/all/ena
Gbp-Pq: Name 0002-net-ena-minor-performance-improvement.patch
drivers/net/ethernet/amazon/ena/ena_eth_com.c
drivers/net/ethernet/amazon/ena/ena_eth_com.h